package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 新建、编辑柜台仓库
 **/
public class EditProStoreParam {
	private String sid; // 柜台仓库id
	@NotEmpty(message = "仓库名称不能为空")
	private String name; // 仓库名称
	private String theatreId; // 柜台仓库描述
	private String remark; // 柜台仓库描述
	private Double limitMoney; // 存储总金额上限，以元起
	private Double totalCost; // 仓库/柜台总金额
	@Pattern(regexp = "^1|2|3$", message = "类型：1仓库2柜台3寄存柜台")
	private String type; // 类型：1仓库2柜台3寄存柜台
	private String adminId; // 选择管理员id
	@Pattern(regexp = "^0|1$", message = "仓库状态：1启用0禁用")
	private String isEnable; // 当前仓库状态：1启用0禁用

	public void setSid(String sid) {
 		this.sid = sid;
	}

	public String getSid() {
 		return sid;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setTheatreId(String theatreId) {
 		this.theatreId = theatreId;
	}

	public String getTheatreId() {
 		return theatreId;
	}

	public void setRemark(String remark) {
 		this.remark = remark;
	}

	public String getRemark() {
 		return remark;
	}

	public void setLimitMoney(Double limitMoney) {
 		this.limitMoney = limitMoney;
	}

	public Double getLimitMoney() {
 		return limitMoney;
	}

	public void setTotalCost(Double totalCost) {
 		this.totalCost = totalCost;
	}

	public Double getTotalCost() {
 		return totalCost;
	}

	public void setType(String type) {
 		this.type = type;
	}

	public String getType() {
 		return type;
	}

	public void setAdminId(String adminId) {
 		this.adminId = adminId;
	}

	public String getAdminId() {
 		return adminId;
	}

	public void setIsEnable(String isEnable) {
 		this.isEnable = isEnable;
	}

	public String getIsEnable() {
 		return isEnable;
	}

}
